package com.shanghai.huaning.service.impl;


import com.shanghai.huaning.db.testEntity;
import com.shanghai.huaning.service.testService;


import org.springframework.stereotype.Service;


import java.util.ArrayList;
import java.util.List;



@Service
public class testServiceImpl implements testService {


    @Override
    public List<testEntity> get(String name) {
        testEntity entity = new testEntity();
        entity.setName(name);
        entity.setAge("12");
        entity.setHobby("吃饭");
        entity.setSex("男");
        ArrayList<testEntity> testEntities = new ArrayList<>();
        testEntities.add(entity);
        return testEntities;
    }
}

